# Maintainer: Pedro Filipe <xpecex@outlook.com>
pkgname=py3-patiencediff
pkgver=0.2.0
pkgrel=0
pkgdesc="Patiencediff Python and C implementations"
url="https://www.breezy-vcs.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="python3-dev py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/breezy-team/patiencediff/archive/v$pkgver.tar.gz"
builddir="$srcdir/patiencediff-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --root="$pkgdir"
}

sha512sums="31c45b05e0e7ed6c970ad0a9ba4916ab0e0a28b9dca1b86cad0db77a198a088fc30f420150882a07d38144f81644ecf0abafd1d4e41e36bcecb25beeda0b42d3  py3-patiencediff-0.2.0.tar.gz"
